package com.fanh.mapper;

import com.fanh.model.CmsMovie;
import com.fanh.model.CmsMovieExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CmsMovieMapper {
    long countByExample(CmsMovieExample example);

    int deleteByExample(CmsMovieExample example);

    int deleteByPrimaryKey(String id);

    int insert(CmsMovie record);

    int insertSelective(CmsMovie record);

    List<CmsMovie> selectByExample(CmsMovieExample example);

    CmsMovie selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") CmsMovie record, @Param("example") CmsMovieExample example);

    int updateByExample(@Param("record") CmsMovie record, @Param("example") CmsMovieExample example);

    int updateByPrimaryKeySelective(CmsMovie record);

    int updateByPrimaryKey(CmsMovie record);
}